module.exports = {
    createVideoRules: {
        name: { type: 'string', required: true, message: '请输入分类名称' },
        coverFileId: [
            { required: true, message: '请上传图片' },
            { validator: 'number', message: '请上传Number类型图片id' },
        ]
    },
    deleteVideoRules: {
        id: { required: true, message: '请输入分类id' },
    },
    getVideoRules: {
        filename: { required: true, type: 'string', message: '请输入string类型视频名称' },
    },
    updateVideoRules: {
        id: { required: true, message: '请输入视频id' },
    },
}